﻿
@PanelTitle.CreateTitle("最近新车", "javascript:parent.addTab('车辆档案管理','Car/List')")
<table class="datalist" style="width:100%">
    @{
        foreach (var item in ViewBag.NewCarList)
        {
            <tr>
                <td >@if ((bool)item.is_new)
                { 
                    <span style="color:red">新</span>
                }
                    @item.buy_date
                </td> 
                <td>@item.dept_name</td> 
                <td>@item.record_no</td> 
<td>@item.car_note</td> 

            </tr>
        }
    }
</table>

@*<ul style="text-align:left; margin:3px 1px 1px 1px;padding-left:1px;width:95%">
    
    @foreach (var item in ViewBag.NewCarList)
    {
        <li class="list_style" style="margin-bottom:2px">
            @if ((bool)item.is_new)
            { 
                <span style="color:red">新</span>
            }
            <span style="font-weight:bold">[@item.buy_date]</span>
            @item.dept_name,<span style="color:red">@item.record_no</span>,@item.car_note
        </li>
    }
    
</ul>*@

